import service from '@/api/http';

const vipApi = {
  // 会员类型 入参 currencyId 货币id
  getVipType: (params: object) => service.post(`/hall/userInfo/getVipType`, params),
  // 会员详情列表 入参 pageNum pageSize vipConfigId welfareType
  getVipList: (params: object) => service.post(`/hall/userInfo/getVipList`, params),
  /**
   * vip货币列表
    pageNum
    pageSize
    vipConfigId
    welfareType
  */
    getUpVipTitle: (params: object) => service.post(`/hall/userInfo/getUpVipTitle`, params),
  /**
   * 会员反水
    endDate
    pageNum
    pageSize
    receiveStatus
    startDate
    userId
  */
  backWaterReceiveList: (params: object) => service.post(`/admin/backWaterReceive/backWaterReceiveList`, params),
  /**
   * 会员领取奖励
    userId
    backWaterReceiveIds
  */
  receiveBackWater: (params: object) => service.post(`/admin/backWaterReceive/receiveBackWater`, params),
  /**
   * vip货币列表
  */
  getChannelCurrencyList: (params: object) => service.post(`/hall/userInfo/getChannelCurrencyList`, params),
};
export default vipApi;
